<%-- 
    Document   : photo
    Created on : Apr 5, 2012, 7:27:46 PM
    Author     : Ajay Kumar "Mukund"
--%>

<%@include file="header.jsp" %>
<script>
$(document).ready(function(){
    $("#uploadphoto").validationEngine();
   });
</script>
<span class="messagesred"></span><img src="../images/blank.gif" alt="blank" width="1" height="17" border="0" /><br />
<span class="mainheading_js">My Photo Album for Resume :  Software</span><img src="../images/blank.gif" alt="blank" width="18" height="17" border="0" /></span></span>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" valign="middle"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td width="100%" align="left" valign="middle"></td>
  </tr>
  <tr >
    <td align="left" valign="middle" style="padding-left:5px;"><strong>Note</strong>: </td>
  </tr>
  <tr >
    <td align="left" valign="middle" style="padding-left:25px;">1. You can Upload Maximum of <strong>1</strong> Photos </td>
  </tr>
  <tr>
    <td height="18" align="left" valign="middle" style="padding-left:25px;">2. Uplaod only  gif or jpeg/jpg format files and each file size must be less than 500kb </td>
  </tr>
  <tr>
    <td height="18" align="left" valign="middle" style="padding-left:25px;">3. Resize your Photo to 400X500 pixels or below for better display  </td>
  </tr>
  
</table></td>
</tr>
<tr>
  <td align="center" valign="middle">
  				  </td>
</tr>
<tr>
  <td align="center" valign="middle"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tbl_bdr">
    <tr>
      <td colspan="4" align="left" valign="middle"></td>
    </tr>
    <tr >
      <td colspan="4" align="left" valign="middle" class="sde_mnu_hdr_blue" style="padding-left:5px;"><strong><img src="../images/top_left.gif"; class="sde_mnu_img2" style="margin-left:-2px; margin-top:2px;"/>My  Photo Album (1  of 1</strong>)</td>
    </tr>

	      <tr >
      <td width="20%" align="center" valign="middle" style="padding-left:5px; padding-top:5px;"><span style="padding-left:25px;">
              <img src="../src/getpic.jsp?id=<%=session.getAttribute("username")%>&table=student&col=photo&pk_col=username" width="70" height="75"/>
          </span></td>
      <td width="67%" align="left" valign="bottom" style="padding-left:5px;">Status(
	  <img src="../images/green.gif" width="13" height="12" alt="UnApproved"/>)

|Delete (<a href="deletephoto" onclick="javascript: return confirm('Do you really want to delete the Photo?');"><img src="../images/del.gif" alt="Delete" width="16" height="16" border="0"/></a>) &nbsp;
<br />
<br />
<form method="post" name="uploadphoto" id="uploadphoto" action="../src/ImageUpload.jsp" enctype="multipart/form-data">
Edit/Modify <input style="height:20px;" type="file" name="logo_file" class="validate[required,funcCall[checkImageFile]]" id="logo_file"/>
<input type="submit" value="Update" id="update" class="button2" />
</form>
<br />
</td>
      <td width="13%" align="left" valign="top" style="padding-right:5px; padding-top:5px"><a href="photo_password.jsp"></a></td>
    </tr>

	<tr >
      <td colspan="3" align="left" valign="middle" style="padding-left:60px; padding-top:10px;">
	  <div align="left" class="mediumbluelinksp">
</div>
	  </td>
      </tr>
       <tr ><td colspan="3" align="center" valign="middle" style="padding-left:5px; padding-top:5px;">&nbsp;</td>
    </tr>



  </table></td>
</tr>

<tr><td>&nbsp;</td></tr>
<tr>
  <td align="center" valign="middle"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tbl_bdr">
          <form name="member_photo" action="member_photo_code.jsp" method="post" enctype="multipart/form-data"  id="member_photo" >
		<input name="rid" id="rid" type="hidden" value="49" />
                            </form>
      </table></td>
</tr>


<tr>
  <td align="center" valign="middle">&nbsp;</td>
</tr>
</table>
<%@include file="footer.jsp" %>
<%
            if (request.getAttribute("status") != null) {
%>
<div id="message"  title="Image Status"><strong>
        <%
                        out.println(request.getAttribute("status"));
        %>
    </strong></div>
<%
                request.removeAttribute("status");
            }
%>